<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<link type="text/css" rel="stylesheet" href="<%=basePath%>statics/js/plug/jbox/jBox.css"/>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jquery.validate.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/plug/jbox/jBox.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/base/baseauthority/base_authority_add.js"></script>

<div class="table_edit_div" style="display: block">
    <form id="addForm">
        <table class="advanced_table" cellpadding="0" cellspacing="0">
            <tr>
                <td class="attr"><span>名 &nbsp; &nbsp;称：</span></td>
                <td>
                    <input id="label" type="text" placeholder="  例：用户查看" name="name">
                    <img alt="" src="<%=basePath%>statics/images/common/star.gif" style="width: 9px;height: 10px;"></td>
            </tr>
            <tr>
                <td class="attr"><span>标 &nbsp; &nbsp;识：</span></td>
                <td>
                    <input id="permission" type="text" placeholder="  例：user:view" name="permission">
                    <i class="required"></i>
                </td>
            </tr>
            <tr style="display: none;">
                <td class="attr"><span>状 &nbsp; &nbsp;态</span></td>
                <td>
                    <input name='status' type='radio' checked="checked" value="1"><span>可用</span>&nbsp;
                    <input name='status' type='radio' value="2"><span>不可用</span>
                </td>
            </tr>
            <tr>
                <td class="attr"><span>父节点 ：</span></td>
                <td>
                    <input id="authorityAddList" type="text" name="authorityAddList" readonly="readonly" value="${parentauthority.name}">
                    <input id="parentId" type="hidden" name="parentId" id="parentId" value="${parentauthority.id}">
                    <i class="required"></i>
                </td>
            </tr>
            <tr>
                <td class="attr"><span>备 &nbsp; &nbsp;注：</span></td>
                <td>
                    <textarea id="remark" name="remark" style="width: 292px; height: 100px;"></textarea>
                </td>
            </tr>
        </table>
        <div style="text-align:  -webkit-auto;margin-left: 13%;" >
            <input type="submit" value="添加" style="margin-top: 20px;float: left;">
            <input type="button" value="重置" onclick="heavyLoad();" style="margin-top: 20px;float: left;margin-left:40px;">
            <button id="refreshCacheBtn" class="blur" style="margin-top: 20px;margin-left:40px;float: left;">刷新缓存</button>
        </div>
    </form>
</div>

